#include "RasterizerStateDX9.h"

void CRasterizerStateDX9::Setup( )
{
    g_D3DDevice.pD3D9Device->SetRenderState(D3DRS_FILLMODE, m_uFillMode);
    g_D3DDevice.pD3D9Device->SetRenderState(D3DRS_CULLMODE, m_uCullMode);
    g_D3DDevice.pD3D9Device->SetRenderState(D3DRS_ANTIALIASEDLINEENABLE, m_bAntialiasedLineEnable);
    g_D3DDevice.pD3D9Device->SetRenderState(D3DRS_DEPTHBIAS, m_iDepthBias);
    g_D3DDevice.pD3D9Device->SetRenderState(D3DRS_SLOPESCALEDEPTHBIAS, (DWORD)m_fSlopeScaledDepthBias);
}